﻿<!-- saved from url=(0014)about:internet -->
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title>Localization example</title>
	<link rel="stylesheet" href="styles.css"></head>
<body>
Sample: <b>localizationparamsonpage.html</b>&nbsp;&nbsp;<a href="javascript:location.reload(true);"><img border="0" src="images/refresh.png" width="16" height="16">&nbsp;Refresh frame</a>&nbsp;&nbsp;<a target="_parent" href="index.htm"><img border="0" src="images/home.png" width="16" height="16">&nbsp;Examples home</a><br/><br/>
It is a example  of localization MultiPowUpload.  
<br/>You can translate whole interface to your native language. Each message and label can be translated. Just modify parameters like <strong>browseButton.text</strong>, etc. in the code of this example.<br/><br/>
Also you can use ready localization file by<strong> language.source </strong>parameter.
<br/>
<strong>Example: <code>"language.source" : "Extra/Languages/Language_ru.xml"</code></strong>

<p>For the  example you need to specify script URL that accept the files. Open the example  in a text editor and specify the property value &quot;uploadUrl&quot; of  MultiPowUpload object. The value can be:</p>

<ul>
  <li>For ASP: <code>FileProcessingScripts/ASP/ClearASP/uploadfiles.asp</code></li>
  <li>For PHP : <code>FileProcessingScripts/PHP/uploadfiles.php</code>&nbsp;<strong>(Default value)</strong></li>
  <li>For ASP.NET (C Sharp): <code>FileProcessingScripts/ASP.NET/CSharp/uploadfiles.aspx</code></li>
  <li>For ASP.NET (VB.NET): <code>FileProcessingScripts/ASP.NET/VBNET/uploadfiles.aspx</code></li>
   <li>For Perl : <code>FileProcessingScripts/PERL/uploadfiles.pl</code></li>
   <li>For Cold Fusion : <code>FileProcessingScripts/ColdFusion/uploadfiles.cfm</code></li>
   <li>For JSP : <code>FileProcessingScripts/JSP/uploadfiles.jsp</code></li>
</ul>

<br />
<div id="MultiPowUpload_holder">
<strong>You need at least 10 version of Flash player!</strong>
<a href="http://www.adobe.com/go/getflashplayer">&nbsp;<img border="0" src="images/get_flash_player.gif" alt="Get Adobe Flash player" /></a>
</div>	
<!-- SWFObject home page: http://code.google.com/p/swfobject/
You can replace src value with the http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js (Most users has such file cached)
 -->
<script type="text/javascript" src="Extra/swfobject.js"></script>
<script type="text/javascript">
	var params = {  
		BGColor: "#FFFFFF"
	};
	
	var attributes = {  
		id: "MultiPowUpload",  
		name: "MultiPowUpload"
	};
	
	//MultiPowUpload partameters goes here
	var flashvars = {
	  "serialNumber": "put your serial number here",
	  "uploadUrl": "FileProcessingScripts/PHP/uploadfiles.php",	
	  //Uncomment line below and remove all other to use ready Localization file
	  //"language.source" : "Extra/Languages/Language_ru.xml"
	   
	  //Following parameters set dafeult strings translation for some of UI elements
	 "browseButton.text" : "Browse...",
	 "browseButton.tooltip" : "Add files for upload",
	 "cancelButton.text" : "Cancel",
	 "cancelButton.tooltip" : "Cancel current operation",
	 "clearButton.text" : "Clear list",
	 "clearButton.tooltip" : "Remove all files",
	 "contextMenu.sortByDate" : "Sort by date",
	 "contextMenu.sortByName" : "Sort by name",
	 "contextMenu.sortBySize" : "Sort by size",
	 "descriptionWindow.caption" : "Description for file",
	 "descriptionWindow.fileNavigation.fileName.label" : "<FILENAME>",	 
	 "exifWindow.caption" : "<FILENAME> EXIF data",
	 "fileInfoWindow.caption" : "File information",
	 "fileInfoWindow.exifInfo" : "<b>Exif info</b>: <a>Click to view</a>",
	 "fileInfoWindow.fileDate" : "<b>Date</b>: <FILEDATE>",
	 "fileInfoWindow.fileName" : "<b>Name</b>: <FILENAME>",
	 "fileInfoWindow.fileSize" : "<b>Size</b>: <FILESIZE>",
	 "fileInfoWindow.fileStatus" : "<b>Status</b>: <FILESTATUS>",
	 "fileInfoWindow.imageHeight" : "<b>Image height</b>: <IMAGEHEIGHT>",
	 "fileInfoWindow.imageWidth" : "<b>Image width</b>: <IMAGEWIDTH>",
	 "fileStatus.cancelled" : "Cancelled",
	 "fileStatus.complete" : "Complete",
	 "fileStatus.encodeImage" : "Encode image",
	 "fileStatus.error" : "Error occured",
	 "fileStatus.loadFile" : "Loading file into memory",
	 "fileStatus.loadImage" : "Loading image data",
	 "fileStatus.processing" : "Uploading",
	 "fileStatus.ready" : "Ready for upload",	 
	 "listView.description.defaultText" : "Click to edit...",
	 "listView.description.tooltip" : "Edit file description",
	 "listView.fileNameLabel.pattern" : "<FILENAME>",
	 "listView.label.disabledFileInfoTooltip" : "Name: <FILENAME> \n Size: <FILESIZE> \nDate: <FILEDATE>",
	 "listView.label.tooltip" : "File information",
	 "listView.removeButton.tooltip" : "Remove file",
	 "listView.textInput.defaultString" : "Put file description here",
	 "listViewButton.tooltip" : "List view",
	 "loadingText" : "<b>INITIALIZING: <PERCENT>% </b>",
	 "messages.disabledType" : "File with following types : <FILETYPES> are not allowed to upload! <COUNTINVALIDFILES> files were ignored!",
	 "messages.filesCountExceeded" : "Only <MAXFILECOUNT> files allowed to upload! <COUNTINVALIDFILES> files were ignored!",
	 "messages.filesCountNotEnough" : "Please select more files. Minimum files count is <MINFILECOUNT>",	 
	 "messages.wrongFileType" : "Only files with following type: <FILETYPES> allowed to upload! <COUNTINVALIDFILES> files were ignored!",
	 "removeButton.tooltip" : "Remove selected files",
	 "retryDialog.caption" : "Retry upload?",
	 "retryDialog.message" : "Some files were not uploaded. Do you want to try to upload again?",
	 "retryDialog.noLabel" : "No",
	 "retryDialog.yesLabel" : "Yes",	 
	 "sortButton.tooltip" : "Sorting order",
	 "sortMenu.byDate" : "By date",
	 "sortMenu.byName" : "By name",
	 "sortMenu.bySize" : "By size",
	 "statusLabel.text.generateThumbnails" : "Generating image thumbnails... please wait.",
	 "statusLabel.text.ready" : "Files count: <FILESCOUNT> (<TOTALSIZE>)",
	 "statusLabel.text.uploadCancelled" : "Next files upload canceled. Wait...",
	 "statusLabel.text.uploadComplete" : "Upload complete! <UPLOADEDFILESCOUNT> files (<TOTALUPLOADEDSIZE>/<TOTALUPLOADSIZE>), Elapsed time: <ELAPSEDHOUR>:<ELAPSEDMIN>:<ELAPSEDSEC>",
	 "statusLabel.text.uploadProgress" : "Total: <PERCENT>% (<FILESNUM>/<FILESTOUPLOADCOUNT>) <TOTALUPLOADEDSIZE>/<TOTALUPLOADSIZE> (<RATEVALUE>/sec, time left: <LEFTHOUR>:<LEFTMIN>:<LEFTSEC>)",
	 "statusLabel.text.uploadStart" : "Uploading...",
	 "statusLabel.text.uploadStopped" : "Upload stopped. Uploaded bytes: <TOTALUPLOADEDSIZE>, Elapsed time: <ELAPSEDHOUR>:<ELAPSEDMIN>:<ELAPSEDSEC>",
	 "statusLabel.text.waitForConnection" : "Server not respond. Trying reconnect, please wait.",
	 "thumbViewButton.tooltip" : "Thumbnails view",
	 "thumbnail.watermark.text" : "Element-IT",
	 "thumbnailView.bottomPanel.labelPattern" : "<FILENAME>",
	 "thumbnailView.cancelCropIcon.tooltip" : "Undo crop operation",
	 "thumbnailView.contextMenu.CropLabel" : "Crop",
	 "thumbnailView.contextMenu.RemoveLabel" : "Remove",
	 "thumbnailView.contextMenu.RotateLeftLabel" : "Rotate left",
	 "thumbnailView.contextMenu.RotateRightLabel" : "Rotate right",
	 "thumbnailView.contextMenu.UndoCropLabel" : "Cancel crop",
	 "thumbnailView.cropIcon.tooltip" : "Crop selected region",
	 "thumbnailView.editIcon.tooltip" : "Edit file description",
	 "thumbnailView.infoIcon.disabledFileInfoTooltip" : "Name: <FILENAME> \n Size: <FILESIZE> \n Date: <FILEDATE>",
	 "thumbnailView.infoIcon.tooltip" : "File information \n Drag to reorder",
	 "thumbnailView.removeIcon.tooltip" : "Remove",
	 "thumbnailView.rotateLeftIcon.tooltip" : "Rotate left",
	 "thumbnailView.rotateRightIcon.tooltip" : "Rotate right",
	 "uploadButton.text" : "Upload",
	 "uploadButton.tooltip" : "Start upload"
	  
	  
	};
	//Default MultiPowUpload should have minimum width=400 and minimum height=180
	swfobject.embedSWF("ElementITMultiPowUpload.swf", "MultiPowUpload_holder", "400", "250", "10.0.0", "Extra/expressInstall.swf", flashvars, params, attributes);
</script>

<br/>The file uploader doesn’t work? See <a target="_blank" href="http://www.element-it.com/OnlineHelpMulti/MultiPowUpload_Manual_HTML/Troubleshooting.html">here</a> what you need for its proper work. 

</body>
</html>